<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="css/index.css">
    <title>Document</title>
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
    <script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.js"></script>
</head>
<body>
    <div class="container" id="app">
        <div @click="handleClick" v-for="item of movie" :key="item.title">
            <img class="cover" :src="item.pic">
            <div class="">{{item.title}}</div>
            <block v-for="value of item.raiting">
                <img v-if="value>=1.5" class="star" src="images/star.png"></img>
                <img v-else-if="value>=1" class="star" src="images/ban-star.png"></img>
                <img v-else class="star" src="images/no-star.png"></img>
            </block>
        </div>
    </div>
    <script src="js/index.js"></script>
</body>
</html>